package com.atwl.school_system.service.serviceImpl;

import com.atwl.school_system.bean.Banner;
import com.atwl.school_system.mapping.BannerDao;
import com.atwl.school_system.service.BannerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BannerServiceImpl implements BannerService {
    @Autowired
    private BannerDao bannerDao;

    @Override
    public List<Banner> getBanner(Integer start, Integer num) {
        return bannerDao.getBanner(start, num);
    }
}
